package com.hgs.iias.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.acegisecurity.GrantedAuthority;

import com.googlecode.jsonplugin.annotations.JSON;

@Entity
@Table(name = "iias_roles")
public class Role extends DomainObject implements GrantedAuthority {
	private static final long serialVersionUID = -675679899816507829L;
	
	@JSON(serialize = false)
	public String getAuthority() {
		return getId();
	}
}
